﻿using AutoMapper;
using EmployeesManager.Models;
using EmployeesManager.Poco;

namespace EmployeesManager.App_Start
{
    public class AutoMapperConfig
    {
        public static void Register()
        {
            Mapper.CreateMap<Employee, EmployeeForm>();
            Mapper.CreateMap<EmployeeForm, Employee>();
        } 
    }
}